<h3>Добавление нового отзыва</h3>	 
<div class="padTop20"></div>
<div class="floatL leftBlock" style="min-width: 650px;">
    <div class="floatL addForm radius5">
	<form action="" method="post" id="addReview" class="form-stacked needValidate">
	    <label for="review[title]">Тема</label>
	    <input type="text" name="review[title]" value="" class="required" autocomplete="off" />
	    <div class="padTop20"></div>
	    <label for="review[content]">Описание</label>
	    <textarea name="review[content]" class="required"></textarea><br/>
	    <div class="padTop20"></div>
	    <label for="review[category_id]">Категория</label>
	    <input type="hidden" name="review[category_id]" id="categoryId" value="5" />
	    <div class="cats">
		<input type="text" class="required" name="category" id="category" autocomplete="off" /><br />
	    </div>
	    <div class="padTop20"></div>
	    <label for="review[user_rating]">Ваша оценка</label>
	    <div id="rating" class="overHidden">
		<input type="radio" class="star"  name="review[user_rating]" value="1" />
		<input type="radio" class="star"  name="review[user_rating]" value="2"/>
		<input type="radio" class="star"  name="review[user_rating]" value="3"/>
		<input type="radio" class="star"  name="review[user_rating]" value="4"/>
		<input type="radio" class="star"  name="review[user_rating]" value="5" checked="checked" />
	    </div>	    
	    <div id="upImage" class="supList hide">
		<div class="padTop20"></div>
		<label for="imageList"><img src="/themes/miky/images/icons/photo_marker.png"/>Фото:</label>
		<ul id="imageList">
		</ul>
	    </div>
	    <div id="upVideo" class="supList hide">
		<div class="padTop20"></div>
		<label for="videoList"><img src="/themes/miky/images/icons/video_marker.png">Видео:</label>
		<ul id="videoList">
		</ul>
	    </div>
	    <div id="upMap" class="supList hide">
		<div class="padTop20"></div>
		<label for="mapList"><img src="/themes/miky/images/icons/map_marker.png">Метки на карте:</label>
		<ul id="mapList">
		</ul>
	    </div>
	    <div class="padTop20"></div>
	    <a href="javascript:void(0)" class="btn primary" onclick="openPane('img')" ><i class="icon-picture icon-white"></i> Добавить изображение</a>
	    <a href="javascript:void(0)" class="btn danger margLeft10" onclick="openPane('video')" ><i class="icon-facetime-video icon-white"></i> Добавить видео</a>
	    <a href="javascript:void(0)" class="btn success margLeft10" onclick="openPane('map')" ><i class="icon-map-marker icon-white"></i> Указать место на карте</a>	    
	    <div class="padTop20"></div>
	    <input type="submit" name="doSave" value="Сохранить" class="btn" id="save" />
	</form>
    </div>
</div>
<?php if (!Yii::app()->user->getIsGuest()) : ?>
    <?php echo $this->renderPartial('webroot.themes.' . Yii::app()->theme->name . '.views.partials.features-form'); ?>
<?php endif; ?>